/**
 * @Title: BannerServiceImpl
 * @Package cn.com.yiqi.wsc.service.banner.impl
 * @Description: TODO
 * Copyright: Copyright (c) 2016
 * Company: 成都壹柒互动科技有限公司
 * @author 会员系统组-林威
 * @date 2017/2/21 16:00
 * @version V1.0
 */
package cn.com.yiqi.wsc.service.banner.impl;

import cn.com.yiqi.wsc.dao.shop.AppBannerMapper;
import cn.com.yiqi.wsc.entity.shop.AppBanner;
import cn.com.yiqi.wsc.entity.shop.AppBannerExample;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 *
 *@ClassName: BannerServiceImpl
 * Description: TODO
 * @author 会员系统组-林威
 * @date 2017/2/21 16:00
 *
 */
@Service
public class BannerServiceImpl {
    @Autowired
    AppBannerMapper bannerDao;


    /**
     * 首页banner
     * */
    public List<AppBanner> findBanners(String url) {
        return bannerDao.findBanner(url+"/");
    }
}
